package com.demo.dao;

import com.demo.model.SysDic;
import com.demo.model.SysManagers;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysManagersDao {
    int total_managers();
    int countByExampleSearch(SysManagers t);
    List<SysManagers> searchByPage(SysManagers t);
    boolean save(SysManagers s);
    List<SysManagers> find_check_loginname(String loginname);

    SysManagers findById(String id);
    boolean update(SysManagers s);
    void del(String id);
    void update_flag(SysManagers s);
    List<SysManagers> select_check_login(SysManagers s);

    List<SysManagers> findByLoginname(String loginname);
    boolean update_tel(SysManagers s);
    boolean update_password(SysManagers s);
}
